<template>
  <div class="head">
    <div class="title">业务量统计报表</div>
    <div class="line" />
    <el-row>
      <el-col :span="24">
        <div class="title1">
          <el-form ref="form" style="display: flex;flex-wrap: wrap;margin-top: 24px;justify-content: space-between;" :model="form" label-width="80px">
            <el-form-item style="margin-left: 0;" class="text" label="网点">
              <el-select v-model="form.region" class="input" placeholder="请选择活动区域">
                <el-option label="区域一" value="shanghai" />
                <el-option label="区域二" value="beijing" />
              </el-select>
            </el-form-item>
            <el-form-item class="text" label="承包区">
              <el-select v-model="form.region" class="input" placeholder="请选择活动区域">
                <el-option label="区域一" value="shanghai" />
                <el-option label="区域二" value="beijing" />
              </el-select>
            </el-form-item>
            <el-form-item class="text" label="日期">
              <el-date-picker
                v-model="value1"
                class="input1"
                type="daterange"
                range-separator="至"
                start-placeholder="开始日期"
                end-placeholder="结束日期"
              />
            </el-form-item>
            <div>
              <el-form-item>
                <el-button type="primary" @click="onSubmit">查询</el-button>
                <el-button>重置</el-button>
              </el-form-item>
            </div>
          </el-form>
        </div>
        <div class="title1">
          <el-form ref="form" style="display: flex;justify-content: space-between;flex-wrap: wrap;" :model="form" label-width="80px">
            <div style="display: flex;flex-wrap: wrap;justify-content: space-between;width: 785px;">
              <el-form-item class="text" style="margin-left: 0;" label="展示级别">
                <el-select v-model="form.region" class="input" placeholder="请选择活动区域">
                  <el-option label="区域一" value="shanghai" />
                  <el-option label="区域二" value="beijing" />
                </el-select>
              </el-form-item>
              <el-form-item class="text" label="汇总级别">
                <el-select v-model="form.region" class="input" placeholder="请选择活动区域">
                  <el-option label="区域一" value="shanghai" />
                  <el-option label="区域二" value="beijing" />
                </el-select>
              </el-form-item>
            </div>
            <div>
              <el-form-item>
                <el-button @click="onSubmit"><i class="el-icon-upload2" />导出</el-button>
              </el-form-item>
            </div>
          </el-form>
        </div>
        <el-table
          :data="tableData"
          :header-cell-style="{ background: '#f6f6f6' }"
          style="width: 100%"
        >
          <el-table-column
            prop="date"
            label=""
            align="center"
          />
          <el-table-column
            prop="date"
            label="结算时间段"
            align="center"
          />
          <el-table-column
            prop="date"
            label="上级网点编码"
            align="center"
          />
          <el-table-column
            prop="date"
            label="上级网点名称"
            align="center"
          />
          <el-table-column
            prop="date"
            label="网点/承包区编码"
            align="center"
          />
          <el-table-column
            prop="date"
            label="网点/承包区名称"
            align="center"
          />
          <el-table-column label="有偿派送费基本资费" align="center">
            <el-table-column label="寄件" align="center">
              <el-table-column
                prop="city"
                label="总票数"
                align="center"
              />
              <el-table-column
                prop="address"
                label="退件数"
                align="center"
              />
            </el-table-column>
            <el-table-column label="发件" align="center">
              <el-table-column
                prop="city"
                label="总票数"
                align="center"
              />
            </el-table-column>
            <el-table-column label="派件" align="center">
              <el-table-column
                prop="city"
                label="总票数"
                align="center"
              />
            </el-table-column>
            <el-table-column label="正常派送" align="center">
              <el-table-column
                prop="city"
                label="件量"
                align="center"
              />
              <el-table-column
                prop="city"
                label="比率"
                align="center"
              />
            </el-table-column>
            <el-table-column label="有签无到" align="center">
              <el-table-column
                prop="city"
                label="件量"
                align="center"
              />
              <el-table-column
                prop="city"
                label="比率"
                align="center"
              />
            </el-table-column>
          </el-table-column>
        </el-table>
        <div style="display: flex;justify-content: space-between;margin-top: 51px;">
          <div class="title2">显示2到2，共2记录</div>
          <div class="block" style="display: flex; justify-content: end">
            <el-pagination
              background
              :current-page="currentPage4"
              :page-sizes="[10, 20, 30, 40]"
              :page-size="10"
              layout="prev, pager, next,sizes"
              :total="khTotal"
              prev-text="上一页"
              next-text="下一页"
              @size-change="khHandleSizeChange"
              @current-change="khHandleCurrentChange"
            />
          </div>
        </div>

      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {

  components: {},
  data() {
    return {
      value1: '',
      form: {
        name: '',
        region: '',
        date1: '',
        date2: '',
        delivery: false,
        type: [],
        resource: '',
        desc: ''
      },
      tableData: [{
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-04',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1517 弄'
      }, {
        date: '2016-05-01',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1519 弄'
      }, {
        date: '2016-05-03',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1516 弄'
      }, {
        date: '2016-05-03',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1516 弄'
      }, {
        date: '2016-05-03',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1516 弄'
      }]
    }
  },

  computed: {},

  created() {},

  methods: {}
}

</script>
<style  scoped lang="scss">
.head{
  padding: 30px;
}
.title{
  font-size: 16px;
font-family: Source Han Sans CN;
font-weight: 400;
color: #666666;
}
.line{
  height: 1px;
background: #D8D8D8;
border-radius: 1px;
margin-top: 19px;
}
.title1{
  // display: flex;
  // justify-content: space-between;
  .text{
    font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 400;
color: #666666;
// margin-left: 52px;
.input{
  width: 286px;
height: 36px;
background: #FFFFFF;
// border: 1px solid #B4B4B4;
border-radius: 4px;
}
.input1{
  width: 708px;
height: 36px;
background: #FFFFFF;
border: 1px solid #B4B4B4;
border-radius: 4px;
}
  }
}
.title2{
  font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 400;
color: #666666;
}
</style>
